const path = require('path')

module.exports = {
    title: '资产管理操作指南',
    description: '资产管理操作指南',
    head: [
        ['link', {rel: 'icon', href: '/logo.png'}],
        ['link', {rel: 'stylesheet', href: '/styles/index.css'}]
    ],
    markdown: {
        lineNumbers: true
    },
    serviceWorker: true,
    themeConfig: {
        logo: '/logo.png',
        lastUpdated: '更新时间',
        nav: [
            {text: '首页', link: '/'},
            {text: '文档', link: '/pages/folder/briefly.md'},
            // {text: 'GitHub', link: 'https://github.com/your-repo'}
        ],
        sidebar: {
            '/pages/folder/': [
                {
                    title: '操作手册',
                    collapsable: false,
                    sidebarDepth: 3,
                    children: [
                        ['briefly.md', '萌新入门'],
                        ['settings.md', '基础设置'],
                        ['building.md', '建筑'],
                        ['tenants.md', '租客'],
                        ['investment.md', '招商'],
                        ['office.md', '办公'],
                        ['contract.md', '合同'],
                        ['finance.md', '财务'],
                        ['property.md', '物业'],
                        ['datacenters.md', '数据中心']
                    ]
                }
            ]
        }
    },
    layouts: {
        Layout: path.resolve(__dirname, './components/Layout.vue')
    },
    clientConfigFile: './client.js'
}
